package com.maxvision.test.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.maxvision.mybatis.converter.StringFileConverter;
import lombok.Data;

import java.io.File;
import java.io.InputStream;
import java.net.URL;

/**
 * 类说明
 *
 * @author HuangRongFu
 * @date 2023/2/20
 */

@Data
@ContentRowHeight(100)
@ColumnWidth(50)
public class WriterExcelFileDTO {

    @ExcelProperty("文件类型")
    private File file;

    @ExcelProperty(value = "网络图片")
    private URL url;

    @ExcelProperty("inputStream类型")
    private InputStream inputStream;

    @ExcelProperty("Byte类型")
    private byte[] byteFile;
    
}

